<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
//下面是STudent的路由
Route::get("sel/:s_no","Student/selectAll","GET");
Route::rule("hello","Student/insert");
Route::post("up","Student/upload");

//Route::rule(["sel/[:s_no]"=>"Student/selectAll",
			// "hello"=>"Student/insert",]);
 
//下面是Class的路由
return [
    "up"=>"Student/upload",
];
